package com.lly.bigdata.bgayx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.OffsetDateTime;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Auto-generator
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_config")
public class SysConfig extends Model<SysConfig> {

    private static final long serialVersionUID = 1L;

    /**
     * 配置id
     */
    @TableId(value = "config_id", type = IdType.AUTO)
    private Long configId;
    /**
     * 配置名称
     */
    private String configName;
    /**
     * 配置key
     */
    private String configKey;
    /**
     * 配置值
     */
    private String configValue;
    /**
     * 配置类型
     */
    private String configType;
    /**
     * 创建时间
     */
    private OffsetDateTime createTime;
    /**
     * 修改时间
     */
    private OffsetDateTime updateTime;
    /**
     * 备注
     */
    private String remark;


    @Override
    protected Serializable pkVal() {
        return this.configId;
    }

}
